﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="AddPositionLog.aspx.cs"
    Inherits="LabMS.Web.LabPersonnel.AddPositionLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加岗位日志</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->

    <script src="../../js/calendar5.js" type="text/javascript"></script>

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript">
        var c = new Calendar("c");
        document.write(c);
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        <a href="ListPositionLog.aspx">个人岗位日志列表</a></label>&gt;添加个人岗位日志
                </div>
            </div>
        </div>
        <div class="main">
            <p>
                <asp:Button ID="SubmitBtn" CssClass="button" Text="保存" runat="server" OnClick="Submit_OnClick" />
                <input id="lbBack" type="button" class="button" onclick="RedirectURL(window,'ListPositionLog.aspx')"
                    value="返回" />
            </p>
            <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            教师姓名：</label>
                    </td>
                    <td>
                        <asp:TextBox ID="PLogTeacherName" runat="server" MaxLength="25"></asp:TextBox>
                    </td>
                    <td>
                        <label class="itemTitle">
                            时间：</label><span style="color: Red">*</span>
                    </td>
                    <td>
                        <asp:TextBox ID="PLogTime" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label class="itemTitle">
                            实验教学简况：</label><span style="color: Red">*</span>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="PLogLabIntro" runat="server" TextMode="MultiLine" Rows="5" Width="450"
                            Height="100" MaxLength="250"/>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label class="itemTitle">
                            仪器设备运行情况：</label><span style="color: Red">*</span>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="PLogEquipment" runat="server" TextMode="MultiLine" Rows="5" Width="450"
                            Height="100" MaxLength="250"/>
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <label class="itemTitle">
                            其它情况：</label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="PLogOther" runat="server" TextMode="MultiLine" Rows="5" Width="450"
                            Height="100" MaxLength="250"/>
                    </td>
                </tr>
            </table>
        </div>

        <script type="text/javascript" src="../js/jQuery/jquery-1.3.1.js"></script>

        <script type="text/javascript" src="../js/jQuery/jquery.validate.js"></script>

        <script type="text/javascript">
        $(document).ready(function(){
            $("#form1").validate({
                rules: {
                    PLogTime:"required",
                    PLogLabIntro:{
                        required:true
                    },
                    PLogEquipment:{
                        required:true
                   }
                },
                messages: {
                    PLogTime:"请选择时间",
                    PLogLabIntro:{
                        required:"请输入实验教学简况"
                    },
                    PLogEquipment:{
                        required:"请输入仪器设备运行情况"
                    }
               }
            });
        });
        </script>

    </form>
</body>
</html>
